from django.urls import path
from .views import *

urlpatterns = [
    # urls of query log
    path("log", query_log_data, name="log"),
    path("logextract", extract_log, name="logextract"),
    path("lognum", query_log_num, name="lognum"),
    # urls of query metric
    path("metric", query_prometheus_data, name="prometheus"),
    path("metricexport", export_metric_data, name="prometheusexport"),
    path("metricname", query_metric_name, name="prometheusname"),
    # urls of query trace
    path("trace", query_trace_data, name="trace"),
    path("traceid", query_trace_byId, name="traceid"),
    path("traceextract", extract_trace, name="traceextract"),
]
